package com.zdkj.subway.st.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdkj.subway.st.entity.SwStStockDayCheckDetail;
import org.apache.ibatis.annotations.Param;

/**
 * @ProjectName: zdkj
 * @Package: com.zdkj.subway.st.mapper
 * @ClassName: SwStStockDayCheckDetailMapper
 * @Description:
 * @Author: kangjian
 * @CreateDate: 2020/1/19 11:04
 * @Version: 1.0
 */
public interface SwStStockDayCheckDetailMapper extends BaseMapper<SwStStockDayCheckDetail> {
    Integer getInStockNum(String TicketType, String StockArea);

    Integer getOutStockNum(String TicketType, String StockArea);

    Integer getSettleNum(String TicketType, String StockArea);

    SwStStockDayCheckDetail getInStockNewest(String TicketType, String StockArea);

    SwStStockDayCheckDetail getOutStockNewest(String TicketType, String StockArea);

    Integer getNewSettleNum(@Param("ticketName") String ticketName, @Param("stockArea") String stockArea);

    String getInGoningType(@Param("inGoingType") String inGoingType);

    String getOutGoningType(@Param("outGoingType") String outGoingType);
}
